@import "/web/css/common/main-common";

body{background: url("img/BG-p-top.jpg") center 120px no-repeat;}
.main-cont{padding-top: 50px;min-width: @content;padding-bottom: 200px;background: url("img/BG-p-bottom.jpg") center bottom no-repeat;}

.title-img{
    text-align: center;
}

.explain-new-xiu{
    height: 343px;background: url("img/explain-new-xiu.png") center top no-repeat;
}

.five-city{
    background: url("img/five-bg.png") center top no-repeat;
    .city-box{
        padding-top: 30px;height: 249px;position: relative;margin: 0 112px 0 132px;
        .city{
            position: absolute;background: left top no-repeat;top: 30px;bottom: 0;
            &.city-1{background-image: url("img/city-1.png");width: 212px;left: 0;z-index: 5;
                &.true{background-image: url("img/city-1-hover.png")}
            }
            &.city-2{background-image: url("img/city-2.png");width: 206px;left: 201px;z-index: 4;
                &.true{background-image: url("img/city-2-hover.png")}
            }
            &.city-3{background-image: url("img/city-3.png");width: 250px;left: 372px;z-index: 3;
                &.true{background-image: url("img/city-3-hover.png")}
            }
            &.city-4{background-image: url("img/city-4.png");width: 199px;left: 584px;z-index: 2;
                &.true{background-image: url("img/city-4-hover.png")}
            }
            &.city-5{background-image: url("img/city-5.png");width: 211px;left: 749px;z-index: 1;
                &.true{background-image: url("img/city-5-hover.png")}
            }
        }
    }
    .see-name-list{
        text-align: center;margin-top: 40px;
    }
}

.title-list{
    margin: 75px auto 0;width: 414px;height: 62px;background: url("img/title-list.png") center / contain no-repeat;line-height: 58px;color: #fff;font-size: 40px;text-align: center;
}

.search-box{
    height: 34px;margin-top: 28px;text-align: center;display: block;overflow: hidden;
    input{display: inline-block;width: 295px;border: 1px solid #c90028;height: 32px;line-height: 32px;box-sizing: border-box;padding: 0 15px;border-radius: 0;}
    input::placeholder{line-height: 34px;}
    button{display: inline-block;width: 110px;line-height: 34px;color: #fff;background-color: #c90028;border: none;margin-left: 10px;font-size: 16px;cursor: pointer;}
}


//手机端
@media (max-width: @sreen) {
    body{background: none;}
    .main-cont{padding-top: 10/@rem;min-width: 100%;padding-bottom: 100/@rem;background: #f7f7f7 url("img/BG.jpg") top center / contain no-repeat;}
    .title-img{
        height: 146/@rem;
        img{height: 100%}
    }
    .explain-new-xiu{
        height: 370/@rem;background: url("img/explain-new-xiu-m.png") center top / auto 100% no-repeat;margin-bottom: 24/@rem;
    }
    .five-city{
        background: none;padding-top: 1px;box-sizing: border-box;height: 260/@rem;
        &.fixed{
            .city-box{
                position: fixed;top: -5/@rem;left: 0;width: 100%;z-index: 999999;background: url("img/city-box-bg.png") left bottom / 100% auto no-repeat;
                height: 195/@rem;
                .city{
                    bottom: 15/@rem;
                }
            }
            .see-name-list{
                margin-top: 210/@rem;
            }
        }
        .city-box{
            padding-top: 0;height: 180/@rem;margin: 0;overflow: hidden;
            .city{
                top: 0;bottom: 0;background-size: auto 100%;
                &.city-1{width: 160/@rem;left: -5/@rem;}
                &.city-2{width: 160/@rem;left: 135/@rem;}
                &.city-3{width: 180/@rem;left: 252/@rem;}
                &.city-4{width: 160/@rem;left: 400/@rem;}
                &.city-5{width: 135/@rem;left: 510/@rem;}
            }
        }
        .see-name-list{
            margin-top: 40/@rem;height: 24/@rem;
            img{height: 100%;}
        }
    }
    .title-list{
        margin-top: 75/@rem;width: 250/@rem;height: 46/@rem;line-height: 44/@rem;font-size: 22/@rem;
    }

    .search-box{
        height: 50/@rem;margin-top: 28/@rem;
        input{width: 295/@rem;height: 50/@rem;line-height: 50/@rem;padding: 0 15/@rem;font-size: 20/@rem;box-sizing: border-box;}
        input::placeholder{line-height: 52/@rem;}
        button{width: 110/@rem;line-height: 50/@rem;margin-left: 10/@rem;font-size: 20/@rem;}
    }
}